import http from "./http";

// 登录
export const login = (data) => http.post("/api/user/login", data);

// 注册
export const register = (data) => http.post("/api/user/register", data);

// 发送邮件验证码
export const sendVerifyCode = (data) => http.post("/api/user/mail", data);
